package com.fh.web.service;

import java.util.List;
import java.util.Map;

import com.fh.web.vo.SysUserVo;
import com.fh.dto.PubSystem;
import com.fh.dto.SysUser;
import com.fh.bo.PageFilterBo;

/**
 * 
 * @author admin
 *
 */
public interface UserMangerService {
	/**
	 * 用户在权限点所拥有的操作
	 */
	Map<String, Object> userCanOperation(SysUserVo user,String pId) throws Exception;
	
	/**
	 * 查询所有用户分页
	 * @param pageBounds
	 * @return
	 * @throws Exception
	 */
	Map<String,Object> selectAllUser(PageFilterBo ph,String organizationId,String userName) throws Exception;
	
	/**
	 * 编辑用户信息
	 */
	SysUser editUser(Long id)throws Exception;
	
	/**
	 * 更新用户
	 * @param userBean
	 * @return
	 * @throws Exception
	 */
	int updateUserById(SysUserVo userBean,Integer createUserId) throws Exception;
	/**
	 * 获取所有平台信息
	 * @return
	 * @throws Exception
	 */
	List<PubSystem> getSysCode()throws Exception;
	
	
	
	/**
	 * 禁用用户
	 * @param userBean
	 * @return
	 * @throws Exception
	 */
	int deleteUserById(Long id) throws Exception;
	
	/**
	 * 恢复用户
	 * @param userBean
	 * @return
	 * @throws Exception
	 */
	int updateUserById(Long id) throws Exception;

}
